package com.cn.ysf.newbeemall.controller.mall;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author ysf
 * @date 2019/12/11 14:52
 */
@Controller
public class PersonalController {

    /**
     * 用户点击登陆按钮跳转到登陆页面
     * @return
     */
    @RequestMapping({"login","login.html"})
    public String login(){
        return "mall/login";
    }

    /**
     * 用户点击注册按钮跳转到注册页面
     * @return
     */
    @RequestMapping({"register","register.html"})
    public String register(){
        return "mall/register";
    }

}
